import request from '@/utils/request'

// 新增
export function classAdd(data = {}) {
  return request({
    url: '/workbench/attend-team/create',
    method: 'post',
    data: data
  })
}
// 删除
export function classDel(data = {}) {
  return request({
    url: '/workbench/attend-team/remove',
    method: 'get',
    params: data
  })
}
// 修改
export function classEdit(data = {}) {
  return request({
    url: '/workbench/attend-team/update',
    method: 'post',
    data: data
  })
}
// 详情
export function classDtl(data = {}) {
  return request({
    url: '/workbench/attend-team/detail',
    method: 'get',
    params: data
  })
}
// 列表
export function classList(data = {}) {
  return request({
    url: '/workbench/attend-team/list',
    method: 'get',
    params: data
  })
}
